home *** CD-ROM | disk | FTP | other *** search
/ Scene Storm / Scene Storm - Volume 1.iso / coding / c / pdc / libsrc / math / floor.c < prev    next >
Encoding:
C/C++ Source or Header  |  1990-04-07  |  607 b   |  20 lines

  1. /*
  2.  * PDC I/O Library Copyright (C) 1987 by J.A. Lydiatt.
  3.  * Modifications for PDC release 3.3 Copyright (C) 1988 Lionel D. Hummel.
  4.  * PDC Software Distribution Copyright (C) 1988 Lionel Hummel and Paul Petersen.
  5.  *
  6.  * This code is freely redistributable upon the conditions that this notice
  7.  * remains intact and that modified versions of this file not be included
  8.  * as part of the PDC Software Distribution without the express consent of
  9.  * the copyright holders.
  10.  */
  11.  
  12. extern long IEEEDPFix();
  13. extern double IEEEDPFlt();
  14.  
  15. double floor(dp_num)
  16. double dp_num;
  17. {
  18.     return(IEEEDPFlt(IEEEDPFix(dp_num)));
  19. }
  20.